package study.javabasic.mymap;

/**
 *
 * @author zhangshuhan
 * @date 2019/3/25
 */
public class MyEntry<K, V> {
    private K key;

    private V value;

    MyEntry next;

    public MyEntry(K key, V value, MyEntry next) {
        this.key = key;
        this.value = value;
        this.next = next;
    }

    public K getKey() {
        return key;
    }

    public void setKey(K key) {
        this.key = key;
    }

    public V getValue() {
        return value;
    }

    public void setValue(V value) {
        this.value = value;
    }
}
